<%--
  Created by IntelliJ IDEA.
  User: Jovi
  Date: 2018/8/16
  Time: 下午3:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>$Title$</title>
</head>
<body>
<form name="form1" action="hello.do" method="post">
    根据beanName访问Controller:<input type="text" name="hello"/> <input type="submit" value="提交"/>
</form>
<form name="form2" action="userInfo.do" method="post">
    根据url访问Controller:<input type="text" name="hello"/> <input type="submit" value="提交"/>
</form>
<a href="/user/list.do">查询</a>
<a href="/user/add.do">添加</a>
<a href="/user/update.do">修改</a>
<form name="form3" action="/user/list.do" method="post">
    <input type="submit" value="提交"/>
</form>

</body>
</html>
